﻿using SaiLing.Domain.Persistence.Relational;
using System;

namespace SaiLing.SingleSignOn.Domain.Entities.System
{

    public class OrganizationMenuAuthority : IEntity
    {
        /// <summary>
        /// 模块功能Id
        /// </summary>
        public Guid ModuleActionId { get; set; }
        public virtual ModuleAction ModuleAction { get; set; }

        /// <summary>
        /// 菜单Id
        /// </summary>
        public Guid ModuleId { get; set; }
        public virtual Module Module { get; set; }

        /// <summary>
        /// 组织机构id
        /// </summary>
        public Guid OrganizationId { get; set; }
        /// <summary>
        /// 组织机构
        /// </summary>
        public virtual Organization Organization { get; set; }

        /// <summary>
        /// appid
        /// </summary>
        public Guid Appid { get; set; }
        /// <summary>
        /// app
        /// </summary>
        public virtual Application App { get; set; }

    }
}
